<div class="mid_frame01">
      </div>
    <!--Top container end-->
    <div id="mid_container"> <!-- InstanceBeginEditable name="Mid Container Region" -->
      <div class="middle_area">
        <!--Mid left end-->
        <div class="mid_frame02">
          <div class="gallery_box">
            <div class="gallery_inner">
              <div class="gallery_frame01">
                  <?php $i = 0;  ?>
              <?php foreach($result as $v): ?>  
                <?php if($i != 0 && $i%2 ==0): ?>
                <div class="gallery_line"></div>
                <?php endif; ?>
                <?php if($i %2 == 0): ?>
                <div class="gallery_left">
                  <div class="gallery_box01">
                      <div class="gallery_image_area"><a href="<?php echo site_url('productview/index/'.$v['id']) ?>" class="tooltip_image"><img src="<?php echo STATIC_DOMAIN . $v['image_src'] ?>" title="<?php echo $v['name'] ?>" alt="<?php echo $v['name'] ?>" width="75" height="75"></a></div>
                    <div class="gallery_text_area">
                      <h2 class="gallery_text01"><a href="<?php echo site_url('productview/index/'.$v['id']) ?>"><?php echo $v['name'] ?></a></h2>
                      <p class="gallery_text02"><?php echo $v['summary'] ?></p>
                    </div>
                  </div>
                </div>
                <?php endif; ?>
                <!--Gallery left end-->
                <?php if($i %2 !=0): ?>
                <div class="gallery_right">
                  <div class="gallery_box01">
                    <div class="gallery_image_area"><a href="<?php echo site_url('productview/index/'.$v['id']) ?>" class="tooltip_image"><img src="<?php echo STATIC_DOMAIN . $v['image_src'] ?>" title="<?php echo $v['name'] ?>" alt="<?php echo $v['name'] ?>" width="75" height="75"></a></div>
                    <div class="gallery_text_area"> 
                      <h2 class="gallery_text01"><a href="<?php echo site_url('productview/index/'.$v['id']) ?>"><?php echo $v['name'] ?></a></h2>
                      <p class="gallery_text02"><?php echo $v['summary'] ?></p>
                    </div>
                  </div>
                </div>
                <?php endif; ?>
                <?php $i++; ?>
                <?php endforeach; ?>
                <!--Gallery right end--> 
                
              </div>
            </div>
          </div>
          <div class="gallery_bottom"> 
          </div>
          
        </div>
        <div class="line_01"><img src="<?php echo STATIC_DOMAIN ?>images/default/product/line_01.png" alt=""></div>
        <!--Mid frame02 end-->
        <div class="right page_button">
            <ul class="TopPage">
                <li><a href="#" id="upTop"><img src="<?php echo STATIC_DOMAIN ?>images/default/page_top_button.jpg" alt="Page Top"/></a></li>
            </ul>
        </div>
      </div>
      <!-- InstanceEndEditable --> </div>